// VS_BEGIN
#version 330 core
layout (location = 0) in vec3 aPos;
layout (location = 1) in vec2 aCoord;

out vec2 g_coord;

void main() {
    gl_Position = vec4(aPos, 1.0f);
    g_coord = aCoord;
}
// VS_END

// FS_BEGIN
#version 330 core

out vec4 FragColor;

in vec2 g_coord;

uniform sampler2D u_texture;

void main() {
    FragColor = texture(u_texture, g_coord);
}
// FS_END